# 一个简单的判断
cars = ("bmw", "auto")
for car in cars:
    if car == "auto":
        print(car)
    else:
        print("hello world")
for car in cars:
    if car != "auto":
        print("hello world")
    else:
        print(car)
for car in cars:
    if car != "Auto":
        print("hello world")
    else:
        print(car)

age = 19
if age == 19:
    print(age)
if age > 10:
    print(age)
if age < 20:
    print(age)
if 1 < age and 1 < len(cars):
    print("你看看")
if 1 < age or 1 < len(cars):
    print("你看那看")
# 检查一个值是否在特定的列表中
if "auto" not in cars:
    print("not")
else:
    print("in  here")
    
if "auto" in cars:
    print("in here")
# 判断列表是否为空

if cars:
    print(cars)
else:
    print("列表是空的")
# 布尔表达式
hello = True
world = False
if hello:
    print("true")
if world:
    print("true")
else:
    print(world)
